-
Home
-
Jigoshop eCommerce
-
2.1.18 (latest)
-
Code
-
Classes
- ProductService
Total Complexity |
73 |
Dependencies |
14 |
Dependents |
2 |
Total lines |
698 |
Lines of code |
395 |
Logical lines of code |
194 |
Comment lines |
183 |
Methods |
32 |
Properties |
2 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save() |
B |
43 |
16 |
46 |
getAttachments() |
S |
46 |
6 |
38 |
saveAttribute() |
S |
46 |
5 |
41 |
_saveProductAttribute() |
S |
48 |
5 |
37 |
findAllAttributes() |
S |
48 |
5 |
32 |
findByQuery() |
S |
61 |
4 |
12 |
getReviews() |
S |
56 |
3 |
18 |
removeAllAttributesExcept() |
S |
61 |
2 |
12 |
_removeAllProductAttributesExcept() |
S |
61 |
2 |
12 |
findOutOfStock() |
S |
56 |
1 |
20 |
findLowStock() |
S |
56 |
1 |
20 |
saveReview() |
S |
72 |
2 |
5 |
find() |
S |
68 |
2 |
7 |
countAttributes() |
S |
68 |
1 |
8 |
getAttributes() |
S |
80 |
1 |
3 |
getAttribute() |
S |
80 |
1 |
3 |
createAttribute() |
S |
80 |
1 |
3 |
removeAttribute() |
S |
74 |
1 |
4 |
__construct() |
S |
65 |
1 |
8 |
_saveProductAttachment() |
S |
66 |
1 |
8 |
savePost() |
S |
73 |
1 |
5 |
addType() |
S |
80 |
1 |
3 |
_removeAllProductAttachments() |
S |
70 |
1 |
6 |
updateAndSavePost() |
S |
76 |
1 |
4 |
getProductsCount() |
S |
70 |
1 |
6 |
findLike() |
S |
68 |
1 |
7 |
findForState() |
S |
69 |
1 |
6 |
findForPost() |
S |
78 |
1 |
3 |
create() |
S |
80 |
1 |
3 |
restoreQuantity() |
S |
77 |
1 |
4 |
addSoldQuantity() |
S |
77 |
1 |
4 |
generateItemKey() |
S |
68 |
1 |
7 |